﻿using System;
using System.Runtime.Serialization;

namespace Invoicing.Model.Procedures
{
    [DataContract]
    public class StatisticDealOrderModel:MBase
    {
        [Model]
        [DataMember]
        public int ID { get; set; }
        [Model]
        [DataMember]
        public string Corporation { get; set; }
        [Model]
        [DataMember]
        public string RealName { get; set; }
        [Model]
        [DataMember]
        public string Address { get; set; }
        [Model]
        [DataMember]
        public string Mobile { get; set; }
        [Model]
        [DataMember]
        public int CType { get; set; }
        [Model]
        [DataMember]
        public string Pinyin { get; set; }
        [Model]
        [DataMember]
        public int SortIndex { get; set; }
        [Model]
        [DataMember]
        public decimal income { get; set; }
        [Model]
        [DataMember]
        public decimal expend { get; set; }
        [Model]
        [DataMember]
        public decimal paid { get; set; }
        [Model]
        [DataMember]
        public Nullable<decimal> unpaid { get; set; }
        [Model]
        [DataMember]
        public decimal balance { get; set; }
    }

    [DataContract]
    public class StatisticDealOrderCollection : ModelCollectionBase<StatisticDealOrderModel> { }
}
